/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package t5.model;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Gabriel Lunardi
 */
public class Disciplina {
    
    private String codDiscip;
    private String nome;
    private int cargaHoraria;
    private int sem_acon;
    private List<Aluno> alunoList;
    
    public Disciplina(String codDiscip, String nome, int cargaHoraria, int sem_acon) {
        this.codDiscip = codDiscip;
        this.nome = nome;
        this.cargaHoraria = cargaHoraria;
        this.sem_acon = sem_acon;
    }

    public void setCodDiscip(String codDiscip) {
        this.codDiscip = codDiscip;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    public void setCargaHoraria(int cargaHoraria) {
        this.cargaHoraria = cargaHoraria;
    }

    public void setSem_acon(int sem_acon) {
        this.sem_acon = sem_acon;
    }

    public String getCodDiscip() {
        return codDiscip;
    }

    public String getNome() {
        return nome;
    }

    public int getCargaHoraria() {
        return cargaHoraria;
    }

    public int getSem_acon() {
        return sem_acon;
    }
    
    @Override
    public String toString(){
        return codDiscip + " - " + nome;
    }
    
}
